package store.lunangangster.bpmn.model;

/**
 * Gateway控制着Process中的SequenceFlow在收敛或发散时的行为。如果不需要控制SequenceFlow的
 * 收敛或者发散，则不需要使用Gateway。
 * 
 * @author cwk
 * @version 1.0
 */
public abstract class Gateway extends FlowNode {

  protected String gatewayDirection;
  protected String defaultSequenceFlow;

  public String getGatewayDirection() {
    return gatewayDirection;
  }

  public void setGatewayDirection(String gatewayDirection) {
    this.gatewayDirection = gatewayDirection;
  }

  public String getDefaultSequenceFlow() {
    return defaultSequenceFlow;
  }

  public void setDefaultSequenceFlow(String defaultSequenceFlow) {
    this.defaultSequenceFlow = defaultSequenceFlow;
  }
}
